using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DAO;
using DTO;

namespace BUS
{
    public class Users_BUS
    {
        public static DataTable LoadAll()
        {
            return Users_DAO.Loadd();
        }
        public static void themmoi(Users_DTO a1)
        {
             Users_DAO.AddNew(a1);
        }
        public static void delete(int a)
        {
             Users_DAO.dalete(a);
        }

    }

    public class Permistion_BUS
    {
        public static DataTable Load()
        {
            return Permistion_DAO.List();
        }
    }
}
